//
//  HLNewsViewController.m
//  HanlinWeather
//
//  Created by 任翰林 on 17/1/13.
//  Copyright © 2017年 任翰林. All rights reserved.
//

#import "HLNewsViewController.h"
#import "NewsTableView.h"
@interface HLNewsViewController ()

@end

@implementation HLNewsViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [[UIApplication sharedApplication] isStatusBarHidden];
    // Do any additional setup after loading the view.
     self.view.backgroundColor = [UIColor greenColor];
    [self setUpUI];
}


-(void)setUpUI
{

    NewsTableView * newsTab = [[NewsTableView alloc]initWithFrame:self.view.bounds style:UITableViewStylePlain];
    [self.view addSubview:newsTab];
        
}



- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
